<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>DmAttrProp</title>
    </h:head>
    <h:body>


        <h:form>
            <p:growl id="de_growl" showDetail="true" />
            <p:messages id="de_msg" />



            <table>


                <tr>
                    <td><h:outputLabel rendered="true"  value="Value" /></td>
                <td>:</td>
                <td>
                <h:inputText  id="valueTxt"
                              value="#{dmAttrPropBean.dmAttrPropTable.value}"
                              required="false"
                              rendered="true"
                              requiredMessage="Value is Mandatory"/>
                </td>
                </tr>

                <tr>
                    <td><h:outputLabel rendered="true"  value="DataModelAttributes_ID" /></td>
                <td>:</td>
                <td>

                <h:selectOneMenu  id="dataModelAttributes_IDTxt"
                                  value="#{dmAttrPropBean.dmAttrPropTable.dataModelAttributes_ID}"
                                  required="true"
                                  rendered="true"
                                  requiredMessage="dataModelAttributes is Mandatory">
                    <f:selectItems value="#{dmAttrPropBean.dataModelAttributesList}"/>
                </h:selectOneMenu>
                </td>
                </tr>

                <tr>
                    <td><h:outputLabel rendered="true"  value="AttributesProperties_ID" /></td>
                <td>:</td>
                <td>
                <h:selectOneMenu  id="attributesProperties_IDTxt"
                                  value="#{dmAttrPropBean.dmAttrPropTable.attributesProperties_ID}"
                                  required="true"
                                  rendered="true"
                                  requiredMessage="attributesProperties is Mandatory">
                    <f:selectItems value="#{dmAttrPropBean.attributesPropertiesList}"/>
                </h:selectOneMenu>
                </td>
                </tr>

            </table>
            <h:panelGrid columns="2" cellpadding="10">
                <h:column>
                    <p:commandButton value="Save" id="Savecmd"
                                     action="#{dmAttrPropBean.Insert}" update="de_msg,de_growl" title="Save DmAttrProp" />
                </h:column>
            </h:panelGrid>
        </h:form>
    </h:body>
</html>	
